#include<iostream>
using namespace std;
int a,b;
int main()
{
	cin>>a>>b;
	printf("%d/%d=",a,b);
	if(b==0)
	puts("Error");
	else
	printf("%.2lf",(double)a/b);
	return 0;
}
